<div class="pageContent">
    <form method="post" action="${rc.getContextPath()}/manage/safetyinventroy/saveSafetyinventroy" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
        <input type="hidden" name="navTabId" value="${navTabId!''}" />
        <input type="hidden" name="id" value="${safetyinventroy.id!''}" />
        <div class="pageFormContent" layoutH="58">
            <fieldset>
                <dl>
                    <dt><@label key="material.C,colon">物料：</@label></dt>
                    <dd>
                        <input class="required look" id="safetyinventroyMaterialLookup.materialCode" name="materialCode" type="text" postField="materialText" suggestFields="materialCode,materialText"
                        suggestUrl="${rc.getContextPath()}/manage/material/componentSuggest" lookupGroup="safetyinventroyMaterialLookup" value="${safetyinventroy.materialCode!''}"  readonly="readonly"/>
                        <a class="btnLook" href="${rc.getContextPath()}/manage/material/componentLookUp?lookupType=radio" rel="safetyinventroyMateriall_dialog" title="<@label key='select.C,materialCode.C'>选择物料</@label>" lookupGroup="safetyinventroyMaterialLookup" ></a>
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="materialText.C,colon">物料描述：</@label></dt>
                    <dd>
                        <input id="safetyinventroyMaterialLookup.materialText"  value="${safetyinventroy.materialText!''}" readonly="readonly"  type="text"/>
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="warehouse.C,colon">仓库：</@label></dt>
                    <dd>
                        <select  name="warehouseCode" disabled="disabled">                
                            <option value="${safetyinventroy.warehouseCode!''}">${safetyinventroy.warehouseText!''}</option>
                        </select>
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="storageLocation.C,colon">库位：</@label></dt>
                    <dd>
                        <select name="storageLocationCode" disabled="disabled">
                            <option value="${safetyinventroy.storageLocationCode!''}">${safetyinventroy.storageLocationText!''}</option>
                        </select>
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="safetyInventory.C,colon">安全库存：</@label></dt>
                    <dd>
                        <input name="safetyInventory" class="required digits number integer" min="1" <#if safetyinventroy??>value="${safetyinventroy.safetyInventory!''}"</#if> maxlength="15"  type="text" />
                    </dd>
                </dl>
                <dl>
                    <dt><@label key="maxInventory.C,colon">最大库存：</@label></dt>
                    <dd>
                        <input name="maxInventory" class="digits" <#if safetyinventroy??>value="${safetyinventroy.maxInventory!''}"</#if>  maxlength="15" type="text"/>
                    </dd>
                </dl>
            </fieldset>
        </div>
        <div class="formBar">
        <ul>
            <li><div class="buttonActive"><div class="buttonContent"><button type="submit"><@label key="save.B">保存</@label></button></div></div></li>
            <li>
                <div class="buttonActiveGrey"><div class="buttonContent"><button type="button" class="close"><@label key="cancel.B">取消</@label></button></div></div>
            </li>
        </ul>
       </div>
    </form>
</div>